<template>
  <div>
    <ul>
      <li>name:{{name}}</li>  
      <li>age:{{age}}</li>  
      <li>sex:{{sex}}</li>  
    </ul>
  </div>
</template>

<script>
import {mapState} from "vuex"

export default {
   computed:{ 
      ...mapState('student',['name','age','sex'])
   },
   mounted(){
   console.log(this.$store);
   }
   
    
}
</script>

<style>

</style>